package com.hhs.storage.service;

import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.Suggestion;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2023-04-22
 */
public interface SuggestionService extends IService<Suggestion> {
    /**
     *
     * @param suggestion
     * @param inputParam page size 分页
     * @param inputParam mainId 要查询的部门id
     * @param inputParam createTimeStartTime createTimeEndTime 根据创建时间的开始日期，结束日期查询
     * @return
     */
    public Map<String, Object> getAll(Suggestion suggestion, InputParam inputParam);
    public Map<String, Object> addOrUpdate(Suggestion suggestion);
    public Map<String, Object> dele(@RequestParam String id);
}
